package com.chancingpack.dal.dao;

import com.chancingpack.dal.model.WxRole;
import com.chancingpack.dal.model.WxRoleExample;
import com.chancingpack.dal.model.WxUserLogin;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/7/17.
 */
public interface WxUserLoginDao {
    WxUserLogin getListByName(String username);

    boolean insertRecord(WxUserLogin record);

    boolean updateRecord(WxUserLogin record);

    boolean deleteRecord(Integer userloginId);

    List<WxUserLogin> getLastRecord();

    List<Map<String,Object>> getListAllByMap(Map<String,Object> map);

    List<Map<String,Object>> getListMap(Integer userloginId);

    List<Map<String,Object>> getSgbasCustInfo();

    List<Map<String,Object>> getRole();

    List<Map<String,Object>> getCheckLogin(WxUserLogin record);

    List<Map<String,Object>> selectUserpage(Map<String,Object> map);
    int selectCount(Map<String,Object> map);

    List<Map<String,Object>> getSgbasCustInfoByCustId(String custId);

}
